Repository navigation
ci: test against Ruby 4.0, ActiveModel 8.1 and Couchbase Server 7.6 - #43
Merged
Merged
Conversation
Add matrix entries matching the doctolib/doctolib stack so that a gem bump cannot break it silently: - Ruby 4.0 + ActiveModel 8.1.4 + Couchbase Server 7.6.13 - Ruby 3.4 + ActiveModel 8.1.4 + Couchbase Server 7.6.13 (isolates Ruby 4 regressions from Rails/Server ones) Couchbase Server 7.6 no longer publishes ubuntu20.04 packages, only a generic "linux" one, so run_couchbase.sh now falls back to it. Relax the rake development dependency from ~> 12.2 to >= 12.2: rake 12 requires ostruct, which is no longer a default gem in Ruby 4.0, so bundle install failed there. Refs BC-3546 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the changes expanding CI compatibility coverage.
No open issues 🎉
What changed in this PR
This PR expands CI coverage to match the doctolib production stack and distinguish Ruby 4.0 regressions from ActiveModel or Couchbase Server compatibility issues.
Changes:
- Add Ruby 4.0 and 3.4 combinations with ActiveModel 8.1.4 and Couchbase Server 7.6.13.
- Fall back to generic Linux Couchbase packages when Ubuntu-specific packages are unavailable.
- Relax the rake development dependency to allow newer releases compatible with Ruby 4.0.
| File | Description |
|---|---|
couchbase-orm.gemspec |
Allow rake versions newer than 12.x. |
ci/run_couchbase.sh |
Add a generic Linux package fallback and fail explicitly if neither download succeeds. |
.github/workflows/test.yml |
Add two CI matrix entries for the production stack. |
Review effort: Balanced
pimpin
commented
Nov 23, 2026
pimpin
commented
Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Add matrix entries matching the doctolib/doctolib stack so that a gem bump cannot break it silently:
Couchbase Server 7.6 no longer publishes ubuntu20.04 packages, only a generic "linux" one, so run_couchbase.sh now falls back to it.
Relax the rake development dependency from ~> 12.2 to >= 12.2: rake 12 requires ostruct, which is no longer a default gem in Ruby 4.0, so bundle install failed there.
Refs BC-3546